mood time

def sort(file_name):
    t = time.time()
    arr = []

    with open(file_name) as f:
        for line in f:
            arr.append([int(i) for i in line.split()])

    for i in range(len(arr)):
        for j in range (0, len(arr) - 1):
            if arr[j] > arr[j+1]:
                arr[j], arr[j+1] = arr[j+1], arr[j]

    t2 = time.time()
    print(arr)
    print(t2-t)

print("Array 2")
print("m2_sorted.txt")

print("Array 2")
print("m2_sorted.txt")

print("Array 3")
print("m3_sorted.txt")